import React from 'react'
import { Link } from 'react-router'

class Repos extends React.Component {
  render() {
    return (<div>
      <h2>Repos</h2>
      <ul>
        <li><Link to="/repos/reactjs/react-router" activeStyle={{ color: 'red' }}>React Router</Link></li>
        <li><Link to="/repos/facebook/react">React</Link></li>
      </ul>
      {this.props.children}
    </div>)
  }
}

export default Repos
